Optimal. Leaf size=42 \[ -\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}-a \tanh ^{-1}\left (\sqrt {1-a^2 x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {6008, 266, 63, 208} \[ -\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}-a \tanh ^{-1}\left (\sqrt {1-a^2 x^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 208
Rule 266
Rule 6008
Rubi steps
\begin {align*} \int \frac {\tanh ^{-1}(a x)}{x^2 \sqrt {1-a^2 x^2}} \, dx &=-\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}+a \int \frac {1}{x \sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}+\frac {1}{2} a \operatorname {Subst}\left (\int \frac {1}{x \sqrt {1-a^2 x}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}-\frac {\operatorname {Subst}\left (\int \frac {1}{\frac {1}{a^2}-\frac {x^2}{a^2}} \, dx,x,\sqrt {1-a^2 x^2}\right )}{a}\\ &=-\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}-a \tanh ^{-1}\left (\sqrt {1-a^2 x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 48, normalized size = 1.14 \[ -a \log \left (\sqrt {1-a^2 x^2}+1\right )-\frac {\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{x}+a \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 58, normalized size = 1.38 \[ \frac {2 \, a x \log \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{x}\right ) - \sqrt {-a^{2} x^{2} + 1} \log \left (-\frac {a x + 1}{a x - 1}\right )}{2 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.27, size = 111, normalized size = 2.64 \[ -\frac {1}{2} \, a {\left (\log \left (\sqrt {-a^{2} x^{2} + 1} + 1\right ) - \log \left (-\sqrt {-a^{2} x^{2} + 1} + 1\right )\right )} + \frac {1}{4} \, {\left (\frac {a^{4} x}{{\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )} {\left | a \right |}} - \frac {\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a}{x {\left | a \right |}}\right )} \log \left (-\frac {a x + 1}{a x - 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.40, size = 72, normalized size = 1.71 \[ -\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}\, \arctanh \left (a x \right )}{x}-a \ln \left (1+\frac {a x +1}{\sqrt {-a^{2} x^{2}+1}}\right )+a \ln \left (\frac {a x +1}{\sqrt {-a^{2} x^{2}+1}}-1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 51, normalized size = 1.21 \[ -a \log \left (\frac {2 \, \sqrt {-a^{2} x^{2} + 1}}{{\left | x \right |}} + \frac {2}{{\left | x \right |}}\right ) - \frac {\sqrt {-a^{2} x^{2} + 1} \operatorname {artanh}\left (a x\right )}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {atanh}\left (a\,x\right )}{x^2\,\sqrt {1-a^2\,x^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {atanh}{\left (a x \right )}}{x^{2} \sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________